function [O] = valPatterns(wf, pattern)
% VALPATTERNS Summary of this function goes here
%   Detailed explanation goes here
    O = g_function(horzcat(-1, pattern)*wf);
end

